﻿using System;

namespace YJKExcelTableUtil
{
	internal struct Rangex
	{
		public Rangex(int rowFirst, int rowLast, int colFirst, int colLast)
		{
			this.nRowFirst = rowFirst;
			this.nRowLast = rowLast;
			this.nColFirst = colFirst;
			this.nColLast = colLast;
		}

		public int RowFirst
		{
			get
			{
				return this.nRowFirst;
			}
			set
			{
				this.nRowFirst = value;
			}
		}

		public int RowLast
		{
			get
			{
				return this.nRowLast;
			}
			set
			{
				this.nRowLast = value;
			}
		}

		public int ColFirst
		{
			get
			{
				return this.nColFirst;
			}
			set
			{
				this.nColFirst = value;
			}
		}

		public int ColLast
		{
			get
			{
				return this.nColLast;
			}
			set
			{
				this.nColLast = value;
			}
		}

		private int nRowFirst;

		private int nRowLast;

		private int nColFirst;

		private int nColLast;
	}
}
